package com.example.wac.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author wac
 * @since 2022-04-24
 */
@Data
@NoArgsConstructor
@TableName("tbl_shiro_base_filter")
@EqualsAndHashCode(callSuper = true)
public class ShiroBaseFilter extends Model<ShiroBaseFilter> {
    private static final long serialVersionUID = 1L;

    /**
     * 自增主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;
    /**
     * 过滤url
     */
    @TableField(value = "url")
    private String url;
    /**
     * 权限规则编码
     */
    @TableField(value = "perms")
    private String perms;
    /**
     * 排序
     */
    @TableField(value = "sort_order")
    private Integer sortOrder;
}
